#ifndef COMPILER_ONLINE
#include "header.cc"
#endif


void Test1()
{
    // 通过定义临时对象，来完成方法的调用
    vector<int> num1 = {1,2,3,0,0,0};
    vector<int> num2 = {2,5,6};
    Solution().merge(num1,3,num2,3);

    vector<int> success = {1,2,2,3,5,6};
    for(int i = 0;i < num1.size();i++)
    {
        if(num1[i] != success[i])
        {
            std::cout << "没有通过用例1"  << std::endl;
            return;
        }
    }
    std::cout << "通过用例1 ... OK!" << std::endl;
}


int main()
{
    Test1();
    return 0;
}